Create a supplier for the given organization.
POST/partner/v1.0/organizations/:organizationId/suppliers
Create a supplier for the given organization.
Request
Path Parameters
The ID of the organization in the Carbon Trail platform.
- application/json
- text/json
- application/*+json
Body
The supplier to create.
Array [
]
Array [
- CustomFieldValue
- TextCustomFieldValue
- SelectCustomFieldValue
- MultiSelectCustomFieldValue
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
]
Array [
]
The unique identifier of the supplier in CarbonTrail.
The name of the supplier.
The primary contact email address for the supplier.
location
object
Represents a geographical location where a manufacturing process or material sourcing takes place.
The unique identifier of the location.
The name of the city.
The name of the state where the location is situated.
Possible values: non-empty
The ISO 3166-1 alpha-2 country code.
The full name of the country.
The name of the continent.
The latitude coordinate of the location.
The longitude coordinate of the location.
aliases
object[]
nullable
The aliases associated with the supplier, including alternative identifiers.
The unique identifier of the alias definition in CarbonTrail.
The name of the alias (e.g., "Supplier ID", "Facility ID").
The identifier value associated with the entity for this alias.
customFieldValues
object[]
nullable
The values of custom fields associated with the supplier.
oneOf
Represents a custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
Represents a text custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
circular(TextCustomFieldValue)
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the text custom field.
Represents a select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
circular(SelectCustomFieldValue)
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the multi-select custom field.
Represents a multi-select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
circular(MultiSelectCustomFieldValue)
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The values of the multi-select custom field.
externalIdentities
object[]
nullable
The identifiers of the supplier in source systems, used for idempotency to prevent duplicate imports.
The name of the system (e.g., "SAP", "Workday", "Snowflake") where this ID is from.
The unique identifier value from the system.
Body
The supplier to create.
Array [
]
Array [
- CustomFieldValue
- TextCustomFieldValue
- SelectCustomFieldValue
- MultiSelectCustomFieldValue
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
]
Array [
]
The unique identifier of the supplier in CarbonTrail.
The name of the supplier.
The primary contact email address for the supplier.
location
object
Represents a geographical location where a manufacturing process or material sourcing takes place.
The unique identifier of the location.
The name of the city.
The name of the state where the location is situated.
Possible values: non-empty
The ISO 3166-1 alpha-2 country code.
The full name of the country.
The name of the continent.
The latitude coordinate of the location.
The longitude coordinate of the location.
aliases
object[]
nullable
The aliases associated with the supplier, including alternative identifiers.
The unique identifier of the alias definition in CarbonTrail.
The name of the alias (e.g., "Supplier ID", "Facility ID").
The identifier value associated with the entity for this alias.
customFieldValues
object[]
nullable
The values of custom fields associated with the supplier.
oneOf
Represents a custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
Represents a text custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
circular(TextCustomFieldValue)
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the text custom field.
Represents a select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
circular(SelectCustomFieldValue)
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the multi-select custom field.
Represents a multi-select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
circular(MultiSelectCustomFieldValue)
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The values of the multi-select custom field.
externalIdentities
object[]
nullable
The identifiers of the supplier in source systems, used for idempotency to prevent duplicate imports.
The name of the system (e.g., "SAP", "Workday", "Snowflake") where this ID is from.
The unique identifier value from the system.
Body
The supplier to create.
Array [
]
Array [
- CustomFieldValue
- TextCustomFieldValue
- SelectCustomFieldValue
- MultiSelectCustomFieldValue
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
]
Array [
]
The unique identifier of the supplier in CarbonTrail.
The name of the supplier.
The primary contact email address for the supplier.
location
object
Represents a geographical location where a manufacturing process or material sourcing takes place.
The unique identifier of the location.
The name of the city.
The name of the state where the location is situated.
Possible values: non-empty
The ISO 3166-1 alpha-2 country code.
The full name of the country.
The name of the continent.
The latitude coordinate of the location.
The longitude coordinate of the location.
aliases
object[]
nullable
The aliases associated with the supplier, including alternative identifiers.
The unique identifier of the alias definition in CarbonTrail.
The name of the alias (e.g., "Supplier ID", "Facility ID").
The identifier value associated with the entity for this alias.
customFieldValues
object[]
nullable
The values of custom fields associated with the supplier.
oneOf
Represents a custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
Represents a text custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
circular(TextCustomFieldValue)
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the text custom field.
Represents a select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
circular(SelectCustomFieldValue)
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the multi-select custom field.
Represents a multi-select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
circular(MultiSelectCustomFieldValue)
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The values of the multi-select custom field.
externalIdentities
object[]
nullable
The identifiers of the supplier in source systems, used for idempotency to prevent duplicate imports.
The name of the system (e.g., "SAP", "Workday", "Snowflake") where this ID is from.
The unique identifier value from the system.
Responses
- 201
- 409
Created
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
- CustomFieldValue
- TextCustomFieldValue
- SelectCustomFieldValue
- MultiSelectCustomFieldValue
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
]
Array [
]
The unique identifier of the supplier in CarbonTrail.
The name of the supplier.
The primary contact email address for the supplier.
location
object
Represents a geographical location where a manufacturing process or material sourcing takes place.
The unique identifier of the location.
The name of the city.
The name of the state where the location is situated.
Possible values: non-empty
The ISO 3166-1 alpha-2 country code.
The full name of the country.
The name of the continent.
The latitude coordinate of the location.
The longitude coordinate of the location.
aliases
object[]
nullable
The aliases associated with the supplier, including alternative identifiers.
The unique identifier of the alias definition in CarbonTrail.
The name of the alias (e.g., "Supplier ID", "Facility ID").
The identifier value associated with the entity for this alias.
customFieldValues
object[]
nullable
The values of custom fields associated with the supplier.
oneOf
Represents a custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
Represents a text custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
circular(TextCustomFieldValue)
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the text custom field.
Represents a select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
circular(SelectCustomFieldValue)
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the multi-select custom field.
Represents a multi-select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
circular(MultiSelectCustomFieldValue)
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The values of the multi-select custom field.
externalIdentities
object[]
nullable
The identifiers of the supplier in source systems, used for idempotency to prevent duplicate imports.
The name of the system (e.g., "SAP", "Workday", "Snowflake") where this ID is from.
The unique identifier value from the system.
{
"id": "string",
"name": "string",
"primaryEmail": "string",
"location": {
"id": "loc-12345",
"city": "Paris",
"stateName": "Île-de-France",
"country": "FR",
"countryName": "France",
"continent": "Europe",
"latitude": 48.8566,
"longitude": 2.3522
},
"aliases": [
{
"id": "string",
"name": "string",
"value": "string"
}
],
"customFieldValues": [
{},
null,
null,
null
],
"externalIdentities": [
{
"name": "string",
"value": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
Array [
- CustomFieldValue
- TextCustomFieldValue
- SelectCustomFieldValue
- MultiSelectCustomFieldValue
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
]
Array [
]
The unique identifier of the supplier in CarbonTrail.
The name of the supplier.
The primary contact email address for the supplier.
location
object
Represents a geographical location where a manufacturing process or material sourcing takes place.
The unique identifier of the location.
The name of the city.
The name of the state where the location is situated.
Possible values: non-empty
The ISO 3166-1 alpha-2 country code.
The full name of the country.
The name of the continent.
The latitude coordinate of the location.
The longitude coordinate of the location.
aliases
object[]
nullable
The aliases associated with the supplier, including alternative identifiers.
The unique identifier of the alias definition in CarbonTrail.
The name of the alias (e.g., "Supplier ID", "Facility ID").
The identifier value associated with the entity for this alias.
customFieldValues
object[]
nullable
The values of custom fields associated with the supplier.
oneOf
Represents a custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
Represents a text custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
circular(TextCustomFieldValue)
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the text custom field.
Represents a select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
circular(SelectCustomFieldValue)
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the multi-select custom field.
Represents a multi-select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
circular(MultiSelectCustomFieldValue)
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The values of the multi-select custom field.
externalIdentities
object[]
nullable
The identifiers of the supplier in source systems, used for idempotency to prevent duplicate imports.
The name of the system (e.g., "SAP", "Workday", "Snowflake") where this ID is from.
The unique identifier value from the system.
{
"id": "string",
"name": "string",
"primaryEmail": "string",
"location": {
"id": "loc-12345",
"city": "Paris",
"stateName": "Île-de-France",
"country": "FR",
"countryName": "France",
"continent": "Europe",
"latitude": 48.8566,
"longitude": 2.3522
},
"aliases": [
{
"id": "string",
"name": "string",
"value": "string"
}
],
"customFieldValues": [
{},
null,
null,
null
],
"externalIdentities": [
{
"name": "string",
"value": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
Array [
- CustomFieldValue
- TextCustomFieldValue
- SelectCustomFieldValue
- MultiSelectCustomFieldValue
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
]
Array [
]
The unique identifier of the supplier in CarbonTrail.
The name of the supplier.
The primary contact email address for the supplier.
location
object
Represents a geographical location where a manufacturing process or material sourcing takes place.
The unique identifier of the location.
The name of the city.
The name of the state where the location is situated.
Possible values: non-empty
The ISO 3166-1 alpha-2 country code.
The full name of the country.
The name of the continent.
The latitude coordinate of the location.
The longitude coordinate of the location.
aliases
object[]
nullable
The aliases associated with the supplier, including alternative identifiers.
The unique identifier of the alias definition in CarbonTrail.
The name of the alias (e.g., "Supplier ID", "Facility ID").
The identifier value associated with the entity for this alias.
customFieldValues
object[]
nullable
The values of custom fields associated with the supplier.
oneOf
Represents a custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
Represents a text custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
circular(TextCustomFieldValue)
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the text custom field.
Represents a select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
circular(SelectCustomFieldValue)
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the multi-select custom field.
Represents a multi-select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
circular(MultiSelectCustomFieldValue)
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The values of the multi-select custom field.
externalIdentities
object[]
nullable
The identifiers of the supplier in source systems, used for idempotency to prevent duplicate imports.
The name of the system (e.g., "SAP", "Workday", "Snowflake") where this ID is from.
The unique identifier value from the system.
{
"id": "string",
"name": "string",
"primaryEmail": "string",
"location": {
"id": "loc-12345",
"city": "Paris",
"stateName": "Île-de-France",
"country": "FR",
"countryName": "France",
"continent": "Europe",
"latitude": 48.8566,
"longitude": 2.3522
},
"aliases": [
{
"id": "string",
"name": "string",
"value": "string"
}
],
"customFieldValues": [
{},
null,
null,
null
],
"externalIdentities": [
{
"name": "string",
"value": "string"
}
]
}
Conflict
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}